import { POST,UPLOAD } from "../../services/request";

export default {
    login(data = {})
    {
        return POST({
            // http://www.fastpro.com/shop/business/base/login
            url:'business/base/login',
            params:data
        });
    },
    register(data = {})
    {
        return POST({
            url:'business/base/register',
            params:data
        })
    },
    check(data = {})
    {
        return POST({
            url:'business/base/check',
            params:data
        })
    },
    profile(data = {})
    {
        return UPLOAD({
            url:'business/base/profile',
            params:data
        })
    },
    send(data = {})
    {
        return POST({
            url:'business/base/send',
            params:data
        })
    },
    emailValidate(data = {})
    {
        return POST({
            url:'/business/base/emailValidate',
            params:data
        })
    },
    collectdata(data = {})
    {
        return POST({
            url:'/business/base/collectdata',
            params:data
        })
    }
}